package com.neu.demo01.service;

import com.neu.demo01.mapper.UserMapper;
import com.neu.demo01.po.UserInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserInfoService {
    @Resource
    private UserMapper userMapper;

    public List<UserInfo> findAll(){
        return userMapper.findAll();
    }
}
